# class Dog(object):
#     dog_count = 0
#     @staticmethod
#     def run():
#         print("狗在跑")
#
#     def __init__(self, name):
#         self.name = name
#
#
# dog = Dog("小郭")
# print(dog)


class Game(object):
    top_score = 0

    @staticmethod
    def show_help():
        print("帮助信息：让僵尸进入房间")

    @classmethod
    def show_top_score(cls):
        print("游戏最高分是%s" % cls.top_score)

    def __init__(self, player_name):
        self.player_name = player_name

    def start_game(self):
        print("[%s]开始游戏" % self.player_name)
        Game.top_score = 999


game = Game("小明")
game.start_game()
Game.show_top_score()












